package shejimoshi.simplefactory;
/*
*汽车
 */
public class Car extends Traffic {
    @Override
    public void transform() {
        System.out.println("火车运输，功率："+getGl()+",载重"+getZz());//调用功率，载重
    }
}
